﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Foothill.Common;

namespace Foothill.Model
{
    public enum SelectItemAction { Add, Remove }
    
    public class AdCategorySelectItem
    {
        public AdListCategory Category { set; get; }
        public string SelectedKeyName { set; get; }
        public int SelectedIdValue { set; get; }
        public SelectItemAction Action { set; get; }
    }

    // store the number of ad in a category
    [Serializable]
    public class AdCategoryCount
    {
        public AdListCategory Category { set; get; }

        public int Count { set; get; }

        public AdCategoryCount(AdListCategory category, int count)
        {
            Category = category;
            Count = count;
        }
    }
}
